package com.contest.service;

import com.baomidou.mybatisplus.service.IService;
import com.contest.entity.SessionInfo;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author yfl
 * @email 617823298@qq.com
 * @date 2018-04-28 16:55:47
 */
public interface SessionInfoService extends IService<SessionInfo> {
    /**
     * 更新比赛结果
     * @param sessionInfo
     * @return
     */
    boolean updateResult(SessionInfo sessionInfo);

    void getSessionInfosByRoom(HttpServletRequest request, Map msg);

    void getSessionInfosBySession(HttpServletRequest request , Map msg );
}
